package com.hgxd.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Blob;
import java.time.LocalDateTime;

/**
 * <p>
 * 图纸管理
 * </p>
 *
 * @author fsd
 * @since 2023-10-18
 */
@Getter
@Setter
@TableName("rb_drawing_manage")
@ApiModel(value = "DrawingManage对象", description = "图纸管理")
@NoArgsConstructor
@AllArgsConstructor
public class DrawingManage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "图片资源",required = true)
    private String pic;

    @ApiModelProperty(value = "图片名称",required = true)
    private String name;

    @ApiModelProperty("所属组织名称")
    private String organizationName;

    @ApiModelProperty("所属组织id")
    private Integer organizationId;

    @ApiModelProperty("添加时间")
    private LocalDateTime addDate;

    @ApiModelProperty("备注")
    private String comment;

    @ApiModelProperty(value = "图纸类型：系统图、高低压图、一次图、拓扑图", required = true)
    private String type;

    @ApiModelProperty("所属柜体名称")
    private String cabinet;

    @ApiModelProperty("是否删除：0未删除，1已删除")
    @TableLogic
    private String isdelete;

}
